package com.sagittariusjin.android.serialportbecoroutinelib.bean

/**
 * 
 * @property headMap Map<String, String> 头部
 * @property serialNumber Int 流水编号
 * @property content ByteArray  实际内容
 * @constructor
 */
data class SerialBean(var headMap: Map<String,String> = mapOf(),var serialNumber: Int=-1,var content:ByteArray= byteArrayOf(),var code:Int=200)

/**
 *
 * @property headMap Map<String, String> 头部
 * @property serialNumber Int 流水编号
 * @property content ByteArray 返回的实际内容
 * @property code Int 返回编码 200 为成功
 * @constructor
 */
data class ResultSerialBean(var headMap: Map<String,String> = mapOf(),var serialNumber: Int = -1,var content:ByteArray= byteArrayOf(),var code:Int=200)